Class NotificationSDKServerErrorCodes
java.lang.Object
com.vasco.digipass.sdk.utils.notification.server.constants.NotificationSDKServerErrorCodes
Defines the error codes returned by the NotificationSDKServer.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe NotificationSDKServer instance has been finished.static final intThe Android part of the credentials object is invalid.static final intThe iOS part of the credentials object is invalid.static final intThe credentials object is null.static final intAn internal error has occurred.static final intThe Android data of the notification is too long (the maximum length of the payload isNotificationSDKServer.MAX_PAYLOAD_LENGTH_ANDROIDbytes).static final intThe notification content is null.static final intThe iOS data of the notification is too long (the maximum length of the payload isNotificationSDKServer.MAX_PAYLOAD_LENGTH_IOSbytes).static final intThe iOS bundle ID has not been specified in the notification.static final intThe iOS title of the notification contains an invalid character.static final intThe iOS device token is no longer valid.static final intThe notification object is null.static final intThere has been an error with the Google notification service provider.static final intThere has been an error with the Apple notification service provider.static final intThe notification subject is null.static final intThe notification title is null.static final intThe settings object is invalid.static final intThe notification format is incorrect.static final intThe notification identifier is invalid.static final intThe notification identifier is null or empty. -
Method Summary
-
Field Details
-
INTERNAL_ERROR
public static final int INTERNAL_ERRORAn internal error has occurred. The error code value is -5400.- See Also:
-
VASCO_NOTIFICATION_IDENTIFIER_INCORRECT_FORMAT
public static final int VASCO_NOTIFICATION_IDENTIFIER_INCORRECT_FORMATThe notification format is incorrect. It must be an even hexadecimal string. The error code value is -5401.- See Also:
-
VASCO_NOTIFICATION_IDENTIFIER_NULL
public static final int VASCO_NOTIFICATION_IDENTIFIER_NULLThe notification identifier is null or empty. The error code value is -5402.- See Also:
-
VASCO_NOTIFICATION_IDENTIFIER_INVALID
public static final int VASCO_NOTIFICATION_IDENTIFIER_INVALIDThe notification identifier is invalid. The error code value is -5403.- See Also:
-
CREDENTIALS_NULL
public static final int CREDENTIALS_NULLThe credentials object is null. The error code value is -5404.- See Also:
-
CREDENTIALS_ANDROID_INVALID
public static final int CREDENTIALS_ANDROID_INVALIDThe Android part of the credentials object is invalid. The error code value is -5405.- See Also:
-
CREDENTIALS_IOS_INVALID
public static final int CREDENTIALS_IOS_INVALIDThe iOS part of the credentials object is invalid. The error code value is -5406.- See Also:
-
SETTINGS_INVALID
public static final int SETTINGS_INVALIDThe settings object is invalid. The error code value is -5409.- See Also:
-
NOTIFICATION_PROVIDER_ANDROID_ERROR
public static final int NOTIFICATION_PROVIDER_ANDROID_ERRORThere has been an error with the Google notification service provider. See cause for error details. The error code value is -5410.- See Also:
-
NOTIFICATION_PROVIDER_IOS_ERROR
public static final int NOTIFICATION_PROVIDER_IOS_ERRORThere has been an error with the Apple notification service provider. See cause for error details. The error code value is -5411.- See Also:
-
NOTIFICATION_NULL
public static final int NOTIFICATION_NULLThe notification object is null. The error code value is -5414.- See Also:
-
NOTIFICATION_TITLE_NULL
public static final int NOTIFICATION_TITLE_NULLThe notification title is null. The error code value is -5415.- See Also:
-
NOTIFICATION_IOS_TITLE_CHARACTER_INVALID
public static final int NOTIFICATION_IOS_TITLE_CHARACTER_INVALIDThe iOS title of the notification contains an invalid character. '\n' is not a valid character in the title. The error code value is -5416.- See Also:
-
NOTIFICATION_SUBJECT_NULL
public static final int NOTIFICATION_SUBJECT_NULLThe notification subject is null. The error code value is -5417.- See Also:
-
NOTIFICATION_CONTENT_NULL
public static final int NOTIFICATION_CONTENT_NULLThe notification content is null. The error code value is -5418.- See Also:
-
NOTIFICATION_ANDROID_DATA_TOO_LONG
public static final int NOTIFICATION_ANDROID_DATA_TOO_LONGThe Android data of the notification is too long (the maximum length of the payload isNotificationSDKServer.MAX_PAYLOAD_LENGTH_ANDROIDbytes). The error code value is -5421.- See Also:
-
NOTIFICATION_IOS_DATA_TOO_LONG
public static final int NOTIFICATION_IOS_DATA_TOO_LONGThe iOS data of the notification is too long (the maximum length of the payload isNotificationSDKServer.MAX_PAYLOAD_LENGTH_IOSbytes). The error code value is -5422.- See Also:
-
NOTIFICATION_IOS_TOKEN_INVALID
public static final int NOTIFICATION_IOS_TOKEN_INVALIDThe iOS device token is no longer valid. The error code value is -5425.- See Also:
-
NOTIFICATION_IOS_NO_APP_BUNDLE_ID
public static final int NOTIFICATION_IOS_NO_APP_BUNDLE_IDThe iOS bundle ID has not been specified in the notification. The error code value is -5426.- See Also:
-
CALL_ON_TERMINATED_INSTANCE
public static final int CALL_ON_TERMINATED_INSTANCEThe NotificationSDKServer instance has been finished. It cannot be used anymore. The error code value is -5427.- See Also:
-